<template>
    <div class="header">
        <div class="header-left">
            <span class="iconfont">&#xe624;</span>
        </div>
        <div class="header-search">
            <span class="iconfont">&#xe632;</span>
            输入城市/景色
        </div>
        <div class="header-right">
            深圳
            <span class="iconfont">&#xe6aa;</span>
        </div>
    </div>
</template>

<script>
export default {
    name:"header"
}
</script>

<style scoped lang='stylus'>
@import '~css/var.styl'


.header{
    display: flex;
    justify-content:space-between;
    align-items: center;
    width: 100%;
    font-size: .36rem;
    line-height: .8rem;
    background: $bgColor;
}
.header-left{
    width:0.4rem;
    padding:0 .2rem;
    text-align: center;
    font-weight: bold;
}
.header-search{
    background: #fff;
    height: 0.6rem;
    margin-top: .11rem 0;
    line-height: .6rem;
    border-radius: 0.12rem;
    color:#e4e7ea;
    flex: 1;
    padding: 0 .12rem;
    margin-right: 0.16rem;
}
.header-right{
    padding-right: 0.14rem;
}
</style>
